
// 初始化数据接口约束
export interface HospitalRequest {
    page: number
    limit: number
    hosname?: string
    hoscode?: string
}
// 请求返回的单个医院数据
export interface HospitalItem {
    id: string,
    createTime: string,
    updateTime: string,
    isDeleted: 0 | 1
    hosname: string,
    hoscode: string,
    apiUrl: string,
    signKey: string,
    contactsName: string,
    contactsPhone: string,
    status: number
}
// 请求返回多个医院数据
export type HospitalList = HospitalItem[]
// 声明完整的医院设置返回接口
export interface ReqHospitalSetListRequest {
    records: HospitalList
    total: number,
}
// 添加请求接口
export interface addHospital {
    apiUrl: string
    contactsName: string
    contactsPhone: string
    hoscode: string
    hosname: string
}

// 定义put接口
export interface putHospital extends addHospital{
    id:string
}